package com.fansl.allround.upms.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.fansl.allround.upms.api.entity.SysRegion;
import com.fansl.allround.upms.mapper.SysRegionMapper;
import com.fansl.allround.upms.service.SysRegionService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 区域信息
 *
 * @author code generator
 * @date 2019-08-22 16:08:14
 */
@Slf4j
@Service("sysRegionService")
public class SysRegionServiceImpl extends ServiceImpl<SysRegionMapper, SysRegion> implements SysRegionService {
    /**
     * 区域信息简单分页查询
     *
     * @param sysRegion 区域信息
     * @return
     */
    @Override
    public IPage<SysRegion> getSysRegionPage(Page<SysRegion> page, SysRegion sysRegion) {
        return baseMapper.getSysRegionPage(page, sysRegion);
    }
}
